Specifies overwrite mode during extracting for files that already present on disk.
-ao[a | s | t | u ]
Switch | Description |
---|---|
-aoa | Overwrite All existing files without prompt. |
-aos | Skip extracting of existing files. |
-aou | aUto rename extracting file (for example, name.txt will be renamed to name_1.txt). |
-aot | auto rename existing file (for example, name.txt will be renamed to name_1.txt). |
7z x test.zip -aoa
extracts all files from test.zip archive and overwrite existing files without prompt.
e (Extract), x (Extract with full paths)
Switches: -y (assume Yes on all queries),